package ro.uaic.info.fmse.context.transformers.items;

import ro.uaic.info.fmse.context.transformers.enums.Open;

public class RuleNode extends MyCloneable {
	public Open open;
	public int occurrence;

	public RuleNode(Open open, int occurrence) {
		this.open = open;
		this.occurrence = occurrence;
	}

	@Override
	public String toString() {
//		return open.toString() + ", " + occurrence;
		return open.toString();
	}

	@Override
	protected Object clone() throws CloneNotSupportedException {
		return new RuleNode(open, occurrence);

	}
}